package com.bana.fvs.model;

import com.bana.sys.model.TreeNode;

/**
 * 联动设备
 */
public class LinkDevice extends TreeNode {

	//数据库字段
	private int sbbm;
	private String sbmc;
	private int sblx;
	private String ggxh;
	private int sbcj;
	private String ipdz;
	private int fwdk;
	private String dlzh;
	private String glmm;
	private String txcs;
	private int wqbm;

	//基本信息
	private String wqmc;
	private int sbzt;
	private String sbztsm;

	//树节点
	@Override
	public String getId() {
		return String.format("%d%d",sblx,sbbm);
	}

	@Override
	public int getKey() {
		return sbbm;
	}

	@Override
	public String getName() {
		return sbmc;
	}

	@Override
	public int getType() {
		return sblx;
	}

	@Override
	public boolean isLeaf() {
		return true;
	}

	//end
	public int getSbbm() {
		return sbbm;
	}
	public void setSbbm(int sbbm) {
		this.sbbm = sbbm;
	}
	public int getSblx() {
		return sblx;
	}
	public void setSblx(int sblx) {
		this.sblx = sblx;
	}
	public String getSbmc() {
		return sbmc;
	}
	public void setSbmc(String sbmc)
	{
		this.sbmc = sbmc;
	}
	public String getGgxh() {
		return ggxh;
	}
	public void setGgxh(String ggxh) {
		this.ggxh = ggxh;
	}
	public int getSbcj() {
		return sbcj;
	}
	public void setSbcj(int sbcj) {
		this.sbcj = sbcj;
	}
	public String getIpdz() {
		return ipdz;
	}
	public void setIpdz(String ipdz) {
		this.ipdz = ipdz;
	}
	public int getFwdk() {
		return fwdk;
	}
	public void setFwdk(int fwdk) {
		this.fwdk = fwdk;
	}
	public String getDlzh() {
		return dlzh;
	}
	public void setDlzh(String dlzh) {
		this.dlzh = dlzh;
	}
	public String getGlmm() {
		return glmm;
	}
	public void setGlmm(String glmm) {
		this.glmm = glmm;
	}
	public String getTxcs() {
		return txcs;
	}
	public void setTxcs(String txcs) {
		this.txcs = txcs;
	}
	public int getWqbm() {
		return wqbm;
	}
	public void setWqbm(int wqbm) {
		this.wqbm = wqbm;
	}
	public int getSbzt() {
		return sbzt;
	}
	public void setSbzt(int sbzt) {
		this.sbzt = sbzt;
	}
	public String getWqmc() {
		return wqmc;
	}
	public void setWqmc(String wqmc) {
		this.wqmc = wqmc;
	}

	public String getSbztsm() {
		return sbztsm;
	}

	public void setSbztsm(String sbztsm) {
		this.sbztsm = sbztsm;
	}

}
